package io.terminus.paas.profiler.service

import io.terminus.paas.profiler.model.Configuration

/**
 * Created by gengrong on 16/3/18.
 */
interface ConfigurationService {
    fun saveConfiguration(registryAddress: String, configuration: Configuration)

    fun findByServiceAndAddress(registryAddress: String, service: String, address: String): List<Configuration>

    fun deleteConfiguration(registryAddress: String, id: Long)

    fun updateOverride(registryAddress: String, configuration: Configuration)
}